package com.szchenya.epermit.enums;


import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * @author macbook
 * @date 2022/09/19
 */
@AllArgsConstructor
@NoArgsConstructor
public enum ResultCode {


    SUCCESS(0, "成功"),

    NOT_FOUND(404, "接口或页面不存在"),

    FAIL(999, "请求异常,请联系管理员");

    @Getter
    private int code;
    @Getter
    private String message;

}
